//
//  YSAccountCenterCtrl.h
//  Yueshi
//
//  Created by Northwan on 15/7/30.
//  Copyright (c) 2015年 悦食中国. All rights reserved.
//

#import "BaseViewController.h"

@protocol YSAccountCenterDelegate <NSObject>
@optional
-(void)accountCenterFinish:(int)type status:(NSString *)status;
@end

typedef enum {
    //通过购物篮进入
    accountCenterFinishCartType = 0,
    //通过订单中心进入
    accountCenterFinishOrderCenterType = 1,
    //通过订单列表进入
    accountCenterFinishOrderDetailType = 2,
    //通过商品详情进入
    accountCenterFinishProductDetailType = 3
}AccountCenterFinishType;

@interface YSAccountCenterCtrl : BaseViewController

@property(nonatomic,weak) id<YSAccountCenterDelegate> delegate;

-(instancetype)initWithOrdreCode:(NSString *)orderCode selectProdIds:(NSString *)selectProdIds targetType:(AccountCenterFinishType)targetType productType:(AccountCenterProductType)productType;

@end
